Gender

@Serializable
data class Gender(val id: Int, val name: String, val pokemonSpeciesDetails: List<PokemonSpeciesGender>, val requiredForEvolution: List<Handle.Named<PokemonSpecies>>) : NamedModel(source)

Genders affect whether a Pokémon can breed and what moves it can learn. See: https://pokeapi.co/docs/v2#genders

Parameters

id

The identifier for this gender resource.

name

The name for this gender resource.

pokemonSpeciesDetails

A list of Pokémon species that can be this gender and how likely it is that they will be.

requiredForEvolution

A list of Pokémon species that require this gender in order for a Pokémon to evolve into them.

Constructors

Link copied to clipboard
constructor(id: Int, name: String, pokemonSpeciesDetails: List<PokemonSpeciesGender>, requiredForEvolution: List<Handle.Named<PokemonSpecies>>)

Properties

Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val name: String